package com.hnluchuan.bmjlearning.common;

public enum SmsTemplateType {
	ModifyPassword("SMS_137411451", "修改密码短信验证码");


	private String value;
	private String remark;

	private SmsTemplateType(String value, String remark) {
		this.value = value;
		this.remark = remark;
	}

	public String getValue() {
		return value;
	}

	public String getRemark() {
		return remark;
	}

	public static SmsTemplateType getByValue(String value) {
		for (SmsTemplateType o : SmsTemplateType.values()) {
			if (o.getValue().equals(value)) {
				return o;
			}
		}
		return null;
	}
}
